import React from 'react'
import { Toast, NavBar } from 'react-vant'
import { useNavigate } from 'react-router-dom'
import { Empty } from 'react-vant';
import './index.css'
function index() {
    const navigate = useNavigate()
    return (
        <div>
            <NavBar
                title='减肥商品'
                leftText='返回'
                onClickLeft={() => navigate(-1)}
                onClickRight={() => Toast('按钮')}
            />
           <div>
                <Empty description="暂时没有商品" />;
           </div>
        </div>
    )
}

export default index